package com.lingxu.module.info.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Title: CommentVO
 * @Package: com.lingxu.module.info.entity
 * @Author: ysj闫世杰
 * @Email: 1105324813@qq.com
 * @Date: Created in 2023/8/10 16:05
 * @Description:
 * @Version: 1.0.0
 */
@Data
public class CommentVO {
    private String id;
    private String pid;
    private String infoId;
    private String region;
    private String createUser;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String content;
    private String read;

    private List<CommentVO> commentVOList;
}
